package com.xshang.service.solo;

import com.xshang.entity.bo.HeadLine;
import com.xshang.entity.dto.Result;

import java.util.List;

/**
 * @BelongsProject: simpleframework
 * @BelongsPackage: com.xshang.service.solo
 * @Author: xshang
 * @CreateTime: 2023-06-23  17:17
 * @Description: TODO
 * @Version: 1.0
 */
public interface HeadLineService {

    Result<Boolean> addHeadLine(HeadLine headLine);

    Result<Boolean> removeHeadLine(int headLineId);

    Result<Boolean> modifyHeadLine(HeadLine headLine);

    Result<HeadLine> queryHeadLineById(int headLineId);

    Result<List<HeadLine>> queryHeadLine(HeadLine headLineCondition,int pageIndex,int pageSize);
}
